<?php
class User_Service_Rightactionmap
{
	public function __construct(){
		
	}
	
	public function add($row){
		$Obj = new User_Model_Rightactionmap();
		return $Obj->add($row);		
	}
	
	/**
	 * 获取指定权限的action
	 */
	public function getByUrid($ur_id){
		$Obj = new User_Model_Rightactionmap();
		return $Obj->getByUrid($ur_id);		
	}
	
	/**
	 * 根据指定ura_id 返回一行信息
	 * 
	 */
	public function getByUraid($ura_id){
		$Obj = new User_Model_Rightactionmap();
		return $Obj->getByUraid($ura_id);		
	}
	
	public function deleteBy($ur_id,$ura_id){
		$Obj = new User_Model_Rightactionmap();
		return $Obj->deleteBy($ur_id,$ura_id);		
	}
	
	/**
	 * 根据条件获取指定模块信息
	 */
	public function getByCond($cond,$type,$order,$count,$offset){
		$Obj = new User_Model_Rightactionmap();
		return $Obj->getByCond($cond,$type,$order,$count,$offset);		
	}
	
}